import request from '@/utils/request.js'

/**
 * 手机号、验证码登录
 * @param formData:{mobile, smsCode=246810 验证码固定}
 */
export const loginApi = (formData) => {
	return request.post('/passport/login', {
		form: {
			...formData,
			// 先写死
			isParty: false,
			partyData: {},
		}
	})
}